package zut.edu.cs.network.practice6;

public class Candidate {
	/*
	 * Candidate's name*/
	String name;
	/*
	 * Vote's Quote */
	Vote vote;
	/*
	 * Candidate's numberOfCandidates */
	int numberOfCandidates;
	public Candidate(String name, Vote i) {
		super();
		this.name = name;
		this.vote = i;
	}
	public Candidate() {
		super();
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Vote getVote() {
		return vote;
	}
	public void setVote(Vote vote) {
		this.vote = vote;
	}
	public int getNumberOfCandidates() {
		return numberOfCandidates;
	}
	public void setNumberOfCandidates(int numberOfCandidates) {
		this.numberOfCandidates = numberOfCandidates;
	}
	@Override
	public String toString() {
		return "Candidate [name=" + name + ", vote=" + vote + ", numberOfCandidates=" + numberOfCandidates + "]";
	}
}
